package com.xm.settlement.model;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Administrator on 2017/3/2.
 */
public class AppGoodsManage implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(value = "goods_name" )
    private String goodsName;

    /** 商品状态(1.上架 0.下架)*/
    @TableField(value = "goods_status")
    private Integer goodsStatus;

    @TableField(value = "goods_weight")
    private String goodsWeight;

    /**   商品规格*/
    @TableField(value = "goods_spec")
    private String goodsSpec;

    /** 商品停售标识(1.启用 0.停用) */
    @TableField(value = "goods_stop_flag")
    private Integer goodsStopFlag;

    /** 商品价格*/
    @TableField(value = "goods_price")
    private BigDecimal goodsPrice;

    /** 库存数量*/
    private Integer amount;

    private String image1;

    private String image2;

    private String image3;

    private String image4;

    /** 商品类别ID */
    @TableField(value = "app_goods_type_id")
    private Long appGoodsTypeId;

    private String comment;

    /** 是否可查询(1.是 0.否) */
    @TableField(value = "is_query")
    private Integer isQuery;

    @TableField(value = "goods_code")
    private Long goodsCode;

    @TableField(value = "create_time")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "create_id")
    private Long createId;

    @TableField(value = "update_time")
    private Date updateTime;

    /** 修改人 */
    @TableField(value = "update_id")
    private Long updateId;

    /** 备用 */
    @TableField(value = "by1")
    private Integer by1;

    @TableField(value = "by2")
    private String by2;

    @TableField(value = "by3")
    private Date by3;

    @TableField(exist = false)
    private Integer exAmount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public String getGoodsWeight() {
        return goodsWeight;
    }

    public void setGoodsWeight(String goodsWeight) {
        this.goodsWeight = goodsWeight;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    public Integer getGoodsStopFlag() {
        return goodsStopFlag;
    }

    public void setGoodsStopFlag(Integer goodsStopFlag) {
        this.goodsStopFlag = goodsStopFlag;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getExAmount() {
        return exAmount;
    }

    public void setExAmount(Integer exAmount) {
        this.exAmount = exAmount;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getImage1() {
        return image1;
    }

    public void setImage1(String image1) {
        this.image1 = image1;
    }

    public String getImage2() {
        return image2;
    }

    public void setImage2(String image2) {
        this.image2 = image2;
    }

    public String getImage3() {
        return image3;
    }

    public void setImage3(String image3) {
        this.image3 = image3;
    }

    public String getImage4() {
        return image4;
    }

    public void setImage4(String image4) {
        this.image4 = image4;
    }

    public Long getAppGoodsTypeId() {
        return appGoodsTypeId;
    }

    public void setAppGoodsTypeId(Long appGoodsTypeId) {
        this.appGoodsTypeId = appGoodsTypeId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getIsQuery() {
        return isQuery;
    }

    public void setIsQuery(Integer isQuery) {
        this.isQuery = isQuery;
    }

    public Long getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(Long goodsCode) {
        this.goodsCode = goodsCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    public Integer getBy1() {
        return by1;
    }

    public void setBy1(Integer by1) {
        this.by1 = by1;
    }

    public String getBy2() {
        return by2;
    }

    public void setBy2(String by2) {
        this.by2 = by2;
    }

    public Date getBy3() {
        return by3;
    }

    public void setBy3(Date by3) {
        this.by3 = by3;
    }


}
